package com.augmentum.oes.service;

import java.util.List;

import com.augmentum.oes.exception.ParameterException;
import com.augmentum.oes.exception.ServiceException;
import com.augmentum.oes.model.Exam;
import com.augmentum.oes.model.Pagination;
import com.augmentum.oes.model.SortStatusEnum;

public interface ExamService {

    List<Exam> getList(Pagination pagination, SortStatusEnum sort, String sortField, String keyWord)
            throws ServiceException;

    String saveExam(Exam exam) throws ParameterException;

    List<Exam> getQuestionByExamId(int id);

    Exam getById(int id);

    String updateExam(Exam exam);

    void dropById(String[] idStr) throws ParameterException;

    List<Exam> searchByDate(String start, String end);

}